Optimal. Leaf size=433 \[ \frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{d x}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.98864, antiderivative size = 433, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 6, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {1393, 1502, 1422, 212, 208, 205} \[ \frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (\sqrt{b^2-4 a c}-b\right )^{3/4}}+\frac{d x}{c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1393
Rule 1502
Rule 1422
Rule 212
Rule 208
Rule 205
Rubi steps
\begin{align*} \int \frac{d+\frac{e}{x^4}}{c+\frac{a}{x^8}+\frac{b}{x^4}} \, dx &=\int \frac{x^4 \left (e+d x^4\right )}{a+b x^4+c x^8} \, dx\\ &=\frac{d x}{c}-\frac{\int \frac{a d+(b d-c e) x^4}{a+b x^4+c x^8} \, dx}{c}\\ &=\frac{d x}{c}-\frac{\left (b d-c e-\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^4} \, dx}{2 c}-\frac{\left (b d-c e+\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^4} \, dx}{2 c}\\ &=\frac{d x}{c}+\frac{\left (b d-c e-\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\sqrt{-b+\sqrt{b^2-4 a c}}-\sqrt{2} \sqrt{c} x^2} \, dx}{2 c \sqrt{-b+\sqrt{b^2-4 a c}}}+\frac{\left (b d-c e-\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\sqrt{-b+\sqrt{b^2-4 a c}}+\sqrt{2} \sqrt{c} x^2} \, dx}{2 c \sqrt{-b+\sqrt{b^2-4 a c}}}+\frac{\left (b d-c e+\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\sqrt{-b-\sqrt{b^2-4 a c}}-\sqrt{2} \sqrt{c} x^2} \, dx}{2 c \sqrt{-b-\sqrt{b^2-4 a c}}}+\frac{\left (b d-c e+\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{1}{\sqrt{-b-\sqrt{b^2-4 a c}}+\sqrt{2} \sqrt{c} x^2} \, dx}{2 c \sqrt{-b-\sqrt{b^2-4 a c}}}\\ &=\frac{d x}{c}+\frac{\left (b d-c e+\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-b-\sqrt{b^2-4 a c}}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-b-\sqrt{b^2-4 a c}\right )^{3/4}}+\frac{\left (b d-c e-\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-b+\sqrt{b^2-4 a c}}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-b+\sqrt{b^2-4 a c}\right )^{3/4}}+\frac{\left (b d-c e+\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-b-\sqrt{b^2-4 a c}}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-b-\sqrt{b^2-4 a c}\right )^{3/4}}+\frac{\left (b d-c e-\frac{b^2 d-2 a c d-b c e}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} x}{\sqrt [4]{-b+\sqrt{b^2-4 a c}}}\right )}{2 \sqrt [4]{2} c^{5/4} \left (-b+\sqrt{b^2-4 a c}\right )^{3/4}}\\ \end{align*}
Mathematica [C] time = 0.0780775, size = 88, normalized size = 0.2 \[ \frac{d x}{c}-\frac{\text{RootSum}\left [\text{$\#$1}^4 b+\text{$\#$1}^8 c+a\& ,\frac{\text{$\#$1}^4 b d \log (x-\text{$\#$1})-\text{$\#$1}^4 c e \log (x-\text{$\#$1})+a d \log (x-\text{$\#$1})}{\text{$\#$1}^3 b+2 \text{$\#$1}^7 c}\& \right ]}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.005, size = 67, normalized size = 0.2 \begin{align*}{\frac{dx}{c}}+{\frac{1}{4\,c}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{8}c+{{\it \_Z}}^{4}b+a \right ) }{\frac{ \left ( \left ( -bd+ce \right ){{\it \_R}}^{4}-ad \right ) \ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{7}c+{{\it \_R}}^{3}b}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{d x}{c} + \frac{-\int \frac{{\left (b d - c e\right )} x^{4} + a d}{c x^{8} + b x^{4} + a}\,{d x}}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]